﻿<%@page contentType="text/html; charset=utf-8" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
	<head>
		<title>欢迎</title>

		<meta http-equiv="keywords" content="TrainingRoomManagementSystem,trms,机房管理系统">
		<meta http-equiv="description" content="this is my page">
		<meta http-equiv="content-type" content="text/html; charset=UTF-8">

		<link rel="stylesheet" type="text/css" href="css/template.css">
		<script type="text/javascript" src="js/jyy.equation.js"></script>
		<script type="text/javascript" src="js/jyy.common.js"></script>
		<script type="text/javascript" src="js/jyy.event.js"></script>
		<script type="text/javascript" src="js/menu.js"></script>
		<script type="text/javascript" src="js/template.js"></script>
	</head>

	<body>
		
<script type="text/javascript">
var jumpMsgs = null;
var jumps = new Array(-1,-4,-7,-10,-7,-4,-1);
var firstJumpIndex = 0;
function initJumpMsg(){
	var jumpMsg = document.getElementById("jumpMessage");
	if(jumpMsg!=null){
		var ostrHTML = jumpMsg.innerHTML;
		var nstrHTML = "";
		for(var i=0;i<ostrHTML.length;i+=1){
			nstrHTML += "<span id=\"jumpMsg"+i+"\" style=\"position:relative;\">" + ostrHTML.charAt(i) + "</span>";
		}
		jumpMsg.innerHTML = nstrHTML;
		jumpMsgs = new Array();
		for(var i=0;i<ostrHTML.length;i+=1){
			jumpMsgs[i] = document.getElementById("jumpMsg"+i);
		}
	}
}
function jumpText(){
	initJumpMsg();
	setInterval(function(){
		for(var i=0;i<jumpMsgs.length;i+=1){
			jumpMsgs[i].style.top = jumps[(firstJumpIndex+i)%7];
		}
		firstJumpIndex += 1;
	},150);
}
windowEvents.addEvent("load",jumpText);
</script>
						<table width="100%" height="100%">
							<tr>
								<td align="center" valign="middle">
								<font color="#448ccb" id="jumpMessage" size="5">
								张三，欢迎使用实训机房管理系统。
								</font>
								</td>
							</tr>
						</table>
					<div id="content_background">
						<img src="img/content_bg.jpg" width="100%" height="100%">
					</div>
	</body>
</html>